<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/inc/taglibs.jsp"%>

<p class="result mb10">
	当前查询结果：共有
	<em class="cdr fw7"><c:out value="${page.totalCount}"/></em>
	条记录，分
	<em class="cdr fw7"><c:out value="${page.totalPage}"/></em>
	页显示。
</p>
<table id="senfe" class="tab mb10 fz12" style="width:95%">
	<thead>
	<tr style="background-color: rgb(255, 255, 255);">
		<th>组名称</th>
		<th>备注</th>
		<th>操作</th>
	</tr>
	</thead>
	<tbody>
		<c:forEach var="entity" items="${page.items}" varStatus="status">
			<tr style="background-color: rgb(255, 255, 255);">
				<td><c:out value="${entity.groupName}"/>(<c:out value='${entity.id}' />)</td>
				<td><c:out value="${entity.remark}"/></td>
				<td>
					<a href="#" onclick="javascript:removeEntity(${entity.id});">删除</a>
					<a href="#" onclick="javascript:createOrUpdateEntity(${entity.id});">更新</a>
				</td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<%@ include file="/inc/pager.jsp"%>